#include <stdio.h>

int main(int argc, char const *argv[])
{
    printf( "sizeof(char)                        =%d\n",sizeof(char) );
    printf( "sizeof(unsigned char)               =%d\n",sizeof(unsigned char) );
    printf( "sizeof(short)                       =%d\n",sizeof(short) );
    printf( "sizeof(unsigned short)              =%d\n",sizeof(unsigned short) );
    printf( "sizeof(int)                         =%d\n",sizeof(int) );
    printf( "sizeof(unsigned int)                =%d\n",sizeof(unsigned int) );
    printf( "sizeof(long)                        =%d\n",sizeof(long) );
    printf( "sizeof(unsigned long)               =%d\n",sizeof(unsigned long) );
    printf( "sizeof(long int)                    =%d\n",sizeof(long int) );
    printf( "sizeof(unsigned long int)           =%d\n",sizeof(unsigned long int) );
    printf( "sizeof(long long )                  =%d\n",sizeof(long long) );
    printf( "sizeof(unsigned long long )         =%d\n",sizeof(unsigned long long) );
    printf( "sizeof(float)                       =%d\n",sizeof(float) );
    printf( "sizeof(double)                      =%d\n",sizeof(double) );
    printf( "sizeof(long double)                 =%d\n",sizeof(long double) );
    return 0;
}
/**************
                32位系统                                             64位系统
        sizeof(char)                        =1              sizeof(char)                        =1
        sizeof(unsigned char)               =1              sizeof(unsigned char)               =1
        sizeof(short)                       =2              sizeof(short)                       =2
        sizeof(unsigned short)              =2              sizeof(unsigned short)              =2
        sizeof(int)                         =4              sizeof(int)                         =4
        sizeof(unsigned int)                =4              sizeof(unsigned int)                =4
        sizeof(long)                        =4              sizeof(long)                        =8
        sizeof(unsigned long)               =4              sizeof(unsigned long)               =8
        sizeof(long int)                    =4              sizeof(long int)                    =8
        sizeof(unsigned long int)           =4              sizeof(unsigned long int)           =8
        sizeof(long long )                  =8              sizeof(long long )                  =8
        sizeof(unsigned long long )         =8              sizeof(unsigned long long )         =8
        sizeof(float)                       =4              sizeof(float)                       =4 
        sizeof(double)                      =8              sizeof(double)                      =8
        sizeof(long double)                 =16             sizeof(long double)                 =16
 *******************/

